Carbon


Count1Resources

Header: Resources.h Carbon status: Supported

Returns the total number of resources of a given type in the current resource file.

SInt16 Count1Resources (
    ResType theType
);
Parameter descriptions
theType

A resource type.

The total number of resources of the given type in the current resource file only.

DISCUSSION

To check for errors, call the ResError function.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)